package com.agou.app.admin.business.menu.dao;

import java.io.IOException;
import java.sql.SQLException;
import java.util.List;

import com.agou.app.admin.dbconfig.bean.TSAdminMenuNavi;
import com.agou.app.admin.dbconfig.bean.VSAdminMenuNavi;
import com.agou.core.ss.SSException;
import com.agou.ssh.core.base.BaseDao;

public abstract class IAdminMenuDao extends BaseDao{
	//查询所有的root菜单
	public abstract List<VSAdminMenuNavi> queryRootMenu(long naviId) throws SSException, SQLException, IOException;
	//根据导航ID查询菜单信息（视图查询）
	public abstract List<VSAdminMenuNavi> queryMenu(long naviId) throws SSException, SQLException, IOException;
	//查询菜单导航（只查询有效）
	public abstract List<TSAdminMenuNavi> queryMenuNavi() throws SSException, SQLException, IOException;
	//查询菜单导航（只查询有效）
	public abstract TSAdminMenuNavi queryMenuNavi(long naviId) throws SSException, SQLException, IOException;
}
